package com.xjrsoft.module.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.xjrsoft.common.model.base.AuditEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zlf
 * @since 2024-02-23
 */
@Data
@TableName("xjr_tree")
@ApiModel(value = "Tree对象", description = "")
public class Tree extends AuditEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("编码")
    private String code;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("树接口配置json")
    private String config;

    @ApiModelProperty("列表配置json")
    private String columns;

    @ApiModelProperty("类型 静态树 1  Api接口树 2")
    private Integer type;

    @ApiModelProperty("父级图标")
    private String parentIcon;

    @ApiModelProperty("子级图标")
    private String childIcon;

}
